/* Drawing board
 @description 编辑器的最大容器
 @author 李飞飞
 */

class DrawBoard{
	constructor() {
	    if(arguments.length==1){
			this._constructorElement(arguments[0]);
		}
		this.cells = new Set();
	}
	
	_constructorElement(el){
		this.el = document.getElementById(el);
	}
	
	insertNode(node){
		this.el.appendChild(node.getElement());
		this.cells.add(node);
	}
	
	
	
}